package cn.iocoder.yudao.module.ordering;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;

/**
 * 测试控制器，用于验证模块是否正确加载
 *
 * @author 芋道源码
 */
@RestController
@RequestMapping("/admin-api/ordering/test")
public class TestController {

    @GetMapping("/hello")
    public CommonResult<String> hello() {
        return success("Hello from Ordering Module!");
    }

}
